Skip to main content

ModifyForwardEntry

Description

Call the ModifyForwardEntry interface to modify the specified DNAT entry.

Request Method

POST

Request Path

/apsara/route/Vpc/ModifyForwardEntry

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
ExternalPortBODYstringNo80public network port. Value range:1~65535.
versionBODYstringNo2016-01-01version of api
ForwardTableIdBODYstringYesftb-8vbx8xu2lqj9qb334h0owDNAT list ID.
ExternalIpBODYstringNo116.XX.XX.28public IP address.
ForwardEntryIdBODYstringYesfwd-8vbn3bc8roygjp0gy3xk7The ID of the DNAT entry.
regionIdBODYstringYesNo sample value for this parameter.region id
IpProtocolBODYstringNoTCPprotocol type. Value: TCP: Forwarding TCP protocol messages. UDP: Forwarding UDP protocol messages. Any: forward messages of all protocols.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID where the NAT gateway is located. You can obtain the region ID by calling the DescribeRegions interface.
InternalPortBODYstringNo80target private network port. Value range:1~65535.
ClientTokenBODYstringNo123e4567-e89b-12d3-a456-42665544****Ensure request idempotence. Generate a parameter value from your client to ensure that the parameter value is unique between different requests. Only ASCII characters are supported and cannot exceed 64 characters.
ForwardEntryNameBODYstringNoForwardEntry-1The name of the DNAT entry. is 2 to 128 characters in length and must start with letters or Chinese, but cannot be http:// or https://.
InternalIpBODYstringNo10.XX.XX.78target private network IP.

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}